﻿<%@ Page Language="C#" MasterPageFile="~/Admin/Master/AdminMaster.Master" AutoEventWireup="true"
    CodeBehind="UserAdd.aspx.cs" Inherits="HZ.DrugTrade.Web.Admin.UserAdd" Title="无标题页" %>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="maincon">
        <div id="note">
            注册主用户 <span>*为必填项</span></div>
        <div id="note2">
        </div>
        <table>
            <tr>
                <th width="150px">
                    用户ID：
                </th>
                <td>
                    <asp:TextBox ID="txtUserId" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvUserId" runat="server" ControlToValidate="txtUserId"
                        Display="Dynamic" ErrorMessage="用户编号不能为空！"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th>
                    用户名称：
                </th>
                <td>
                    <asp:TextBox ID="txtUserName" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <th>
                    用户密码：
                </th>
                <td>
                    <asp:TextBox ID="txtUserPwd" runat="server" Enabled="False"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <th>
                    是否启用：
                </th>
                <td>
                    <asp:RadioButtonList ID="rblIsUsing" runat="server" RepeatDirection="Horizontal"
                        Width="120px" CssClass="list2" RepeatLayout="Flow">
                        <asp:ListItem Selected="True" Value="1">是</asp:ListItem>
                        <asp:ListItem Value="0">否</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr style=" display:none;">
                <th>
                    是否管理员：
                </th>
                <td>
                    <asp:RadioButtonList ID="rblIsAdmin" runat="server" RepeatDirection="Horizontal"
                        Width="120px" RepeatLayout="Flow" Enabled="false" >
                        <asp:ListItem Selected="True" Value="1">是</asp:ListItem>
                        <asp:ListItem Value="0">否</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
        </table>
    </div>
    <div class="listip">
        <ul>
            <li>说明：<span>只有启用的用户才能登陆系统</span></li>
        </ul>
    </div>
    <div class="listctrl">
        <hz:HzButton ID="btnRegister" runat="server" Text="保存" OnClick="btnRegister_Click"
            CssClass="btn" OperateType="新增" />
    </div>
</asp:Content>
